package com.bestcem.xm.award.service.dto.draw;

import com.bestcem.xm.award.enums.AwardIssueTypeEnum;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 抽奖结果DTO
 *
 * @author hang.li <hang.li@idiaoyan.com>
 * @version v1.0
 * @date 2021/7/15 16:04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class DrawAwardResultDTO {

    /**
     * 奖项名称
     */
    private String name;

    /**
     * 奖项等级
     */
    private Integer level;

    /**
     * 奖项等级描述
     */
    @JsonProperty(value = "level_str")
    private String levelStr;

    /**
     * 兑奖码
     */
    private String code;

    /**
     * 奖项发放方式 {@link AwardIssueTypeEnum}
     */
    private Integer method;

    /**
     * 领奖提示
     */
    private String tip;
}